/*
版权@hehung所有，转载请申明
email：1398660197@qq.com
*/
#ifndef __APP_RGB_H__
#define __APP_RGB_H__

#include <stdint.h>

#define RGB_RED_PWM_CH                 ((uint8_t)(7 / 2))
#define RGB_BLUE_PWM_CH                ((uint8_t)(4 / 2))
#define RGB_GREEN_PWM_CH               ((uint8_t)(2 / 2))

#define RGB_PWM_CYCLE_SETTING          (300U)
#define RGB_PWM_CYCLE_MAX              (300U)
#define RGB_PWM_CYCLE_MIN              (200U)
#define RGB_PWM_CHANGE_STEP            (5U)


extern void Rgb_TaskInit(void);
extern uint8_t Rgb_LedOn(uint8_t num, uint16_t dutycycle);


#endif
